//
//  GenerationModel.swift
//  Automobile
//
//  Created by erkebulan elzhan on 7/31/20.
//  Copyright © 2020 erkebulan elzhan. All rights reserved.


import Foundation


struct GenerationModel: ModelCellData {
    
    var generation: Generation
    
    var postfix: String? = ""
    
    var id: Int {
        return generation.id
    }
    var name: String {
        return generation.name
    }
    var isSelected: Bool = false

    
    init(generation: Generation) {
        self.generation = generation
    }
}
